import 'dart:convert';

AssessmentParameters assessmentParametersFromJson(String str) =>
    AssessmentParameters.fromJson(json.decode(str));

String assessmentParametersToJson(AssessmentParameters data) =>
    json.encode(data.toJson());

class AssessmentParameters {
  AssessmentParameters({
    this.status,
    this.type,
    this.userName,
  });

  List<String>? status;
  List<String>? type;
  String? userName;

  factory AssessmentParameters.fromJson(Map<String, dynamic> json) =>
      AssessmentParameters(
        status: json["status"] != null
            ? List<String>.from(json["status"].map((x) => x))
            : null,
        type: json["type"] != null
            ? List<String>.from(json["type"].map((x) => x))
            : null,
        userName: json["userName"],
      );

  Map<String, dynamic> toJson() => {
        "status":
            status != null ? List<dynamic>.from(status!.map((x) => x)) : null,
        "type": type != null ? List<dynamic>.from(type!.map((x) => x)) : null,
        "userName": userName,
      };
}
